![]() |
MPSetEvent |
||||
Header: | Multiprocessing.h | Carbon status: | Supported | |
Merges event flags into a specified event group.
OSStatus MPSetEvent ( MPEventID event, MPEventFlags flags );
The ID of the event group you want to set.
The flags you want to merge into the event group.
A result code.
The flags are logically ORed with the current flags in the event group. This procedure is an atomic operation to ensure that multiple updates do not get lost. If tasks are waiting on this event group, the first waiting task is unblocked.
Note that you can call this function from an interrupt handler.
Also see the function MPWaitForEvent.
Introduced with Multiprocessing Services 2.0.
Supported in Carbon. Available in CarbonLib 1.0 and later when MPLibrary 2.0 or later is installed. Exported by CarbonLib 1.0 and later and by MPLibrary 2.0 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)